import { prop_global_dueto_time } from '../../../../../../../../../DataDefine/sourceData';
import { prop_cur_req_time } from '../../../../../../../Classes/cla_req_cur_headers_info';
import { req_info_add_type } from '../../../Classes/cla_req_info_add_type';

const sign_cur_uni_type_infoTag = 'sign_cur_uni_type_info';
/**
 * 添加 类型 的 type id
 */
export const prop_cur_uni_type_id = 'type_id';

/**
 * 添加 类型 的 cur_type_count
 */
export const prop_cur_uni_cur_type_count = 'cur_type_count';

export class sign_cur_uni_type_info {
  get [Symbol.toStringTag]() {
    return sign_cur_uni_type_infoTag;
  }

  constructor(cur_info: req_info_add_type, cur_add_type_id: string) {
    this[prop_global_dueto_time] = cur_info[prop_cur_req_time];

    this[prop_cur_uni_type_id] = cur_add_type_id;

    this[prop_cur_uni_cur_type_count] = 0;
  }

  [prop_global_dueto_time]: string;

  [prop_cur_uni_type_id]: string;

  [prop_cur_uni_cur_type_count]: number;
}
